<template name="headList">
	<view class="flex align-center m-b2" @tap="urlList">
		<image :src="imageList" class="left-icon"></image>
		<text class="fs-2 p-l3">{{listName}}</text>
	</view>
</template>

<script>
	export default{
		name:"headList",
		props:{
			listName:{
				type:String,
				value : '',
			},
			imageList:{
				type:String,
				value : '',
			}
		},
		methods:{
			urlList() {
				this.$emit("urlList");
			}
		}
	}
</script>

<style>
</style>
